From d123ea579f6c27b2155f1979e7c0a2da84a2423a Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 13 Oct 2014 06:09:35 +0200 Subject: [PATCH] inspector: increase type by right amount It's a shift, so we better shift it! --- gtk/inspector/statistics.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/inspector/statistics.c b/gtk/inspector/statistics.c index 1950301a35..f41567b075 100644 --- a/gtk/inspector/statistics.c +++ b/gtk/inspector/statistics.c @@ -103,7 +103,7 @@ update_type_counts (GtkInspectorStatistics *sl) GType type; gpointer class; - for (type = G_TYPE_INTERFACE; type <= G_TYPE_FUNDAMENTAL_MAX; type += G_TYPE_FUNDAMENTAL_SHIFT) + for (type = G_TYPE_INTERFACE; type <= G_TYPE_FUNDAMENTAL_MAX; type += (1 << G_TYPE_FUNDAMENTAL_SHIFT)) { class = g_type_class_peek (type); if (class == NULL) -- 2.30.2